#include <Def.h>
#include "ScriptExecutor.h"

bool ScriptCommandUnit::execute(const QStringList& argument,QString* error)
{
	if(call)
		return call(argument,error);

	if (error)
		*error = QStringLiteral("ScriptCommandUnit::execute bad call function");
	return false;
}